import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

//效验重复
export function getValidityRepetition(query) {
  return request({
    url: '/sys/duplicate/check',
    method: 'get',
    params: query
  })
}